package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeHisPosition implements Serializable {
    private Long positionNo;

    private String buyPrice;

    private String sellPrice;

    private String stockNum;

    private String bsTime;

    private String buyFee;

    private String sellFee;

    private String source;

    private String status;

    private String targetCode;

    private String targetName;

    private String pDesc;

    private String accId;

    private String stockNumCan;

    private static final long serialVersionUID = 1L;

    public Long getPositionNo() {
        return positionNo;
    }

    public void setPositionNo(Long positionNo) {
        this.positionNo = positionNo;
    }

    public String getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(String buyPrice) {
        this.buyPrice = buyPrice == null ? null : buyPrice.trim();
    }

    public String getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(String sellPrice) {
        this.sellPrice = sellPrice == null ? null : sellPrice.trim();
    }

    public String getStockNum() {
        return stockNum;
    }

    public void setStockNum(String stockNum) {
        this.stockNum = stockNum == null ? null : stockNum.trim();
    }

    public String getBsTime() {
        return bsTime;
    }

    public void setBsTime(String bsTime) {
        this.bsTime = bsTime == null ? null : bsTime.trim();
    }

    public String getBuyFee() {
        return buyFee;
    }

    public void setBuyFee(String buyFee) {
        this.buyFee = buyFee == null ? null : buyFee.trim();
    }

    public String getSellFee() {
        return sellFee;
    }

    public void setSellFee(String sellFee) {
        this.sellFee = sellFee == null ? null : sellFee.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode == null ? null : targetCode.trim();
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName == null ? null : targetName.trim();
    }

    public String getpDesc() {
        return pDesc;
    }

    public void setpDesc(String pDesc) {
        this.pDesc = pDesc == null ? null : pDesc.trim();
    }

    public String getAccId() {
        return accId;
    }

    public void setAccId(String accId) {
        this.accId = accId == null ? null : accId.trim();
    }

    public String getStockNumCan() {
        return stockNumCan;
    }

    public void setStockNumCan(String stockNumCan) {
        this.stockNumCan = stockNumCan == null ? null : stockNumCan.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", positionNo=").append(positionNo);
        sb.append(", buyPrice=").append(buyPrice);
        sb.append(", sellPrice=").append(sellPrice);
        sb.append(", stockNum=").append(stockNum);
        sb.append(", bsTime=").append(bsTime);
        sb.append(", buyFee=").append(buyFee);
        sb.append(", sellFee=").append(sellFee);
        sb.append(", source=").append(source);
        sb.append(", status=").append(status);
        sb.append(", targetCode=").append(targetCode);
        sb.append(", targetName=").append(targetName);
        sb.append(", pDesc=").append(pDesc);
        sb.append(", accId=").append(accId);
        sb.append(", stockNumCan=").append(stockNumCan);
        sb.append("]");
        return sb.toString();
    }
}